package service;

import bean.User;
import dao.DaoUserlmpl;

public class UserServiceImpl implements UserService {

    @Override
    public User login(User user) {
//        调用Dao完成对数据库的查询操作:
        DaoUserlmpl userDao = new DaoUserlmpl();

        return userDao.login(user);
    }
}
